home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 2001 May
/
SGI IRIX Base Documentation 2001 May.iso
/
usr
/
relnotes
/
websupport_eoe
/
ch5.z
/
ch5
Wrap
Text File
|
2001-04-17
|
1KB
|
67 lines
- 1 -
5. _K_n_o_w_n__P_r_o_b_l_e_m_s__a_n_d__W_o_r_k_a_r_o_u_n_d_s
+o XWebFetch::watchFd() might not start watching until
first fetch
The library might not start to monitor an fd for IO
events until a fetch is initiated in the case of
XWebFetch. This is not a problem in WebFetch, just
XWebFetch.
+o new method {WebFetch,
XWebFetch}::deallocateRequest(WebFetchRequest *)
This method allows the user to prevent a memory leak
for each fetch by allowing the library to delete the
WebFetchRequest object that comes from a call to
fetchUrl(). Clients that do not explicitly call this
method on the WebFetchRequests received from the
fetchUrl() will leak a WebFetchRequest instance for
each fetchUrl(). This method should be called when the
fetch is completed, most naturally from the web fetch
callback originally passed to fetchUrl().
NOTE: Do not delete a WebFetchRequest object from
inside the web fetch callback. It *is* safe to call
deallocateRequest() from inside the web fetch callback,
however.